package KeyInputTest;

import java.util.Scanner;
/*
scanner工具类用于接受键盘输入
 */
public class KeyInputTest1 {
    public static void main(String[] args){
       Scanner s = new Scanner(System.in);
       System.out.println("请输入一个数：");
       int i = s.nextInt();
       String str = s.next();
       System.out.println(str);
       System.out.print("请输入用户名：");
       String name = s.next();
       System.out.println("欢迎"+name+"登录");
    }
}
